package com.campus.service;

import com.campus.entry.Course;
import io.swagger.v3.oas.models.security.SecurityScheme;

import java.util.List;

public interface CourseService {
    void createCourse(Course course);
    Long countCourse();
    Course getCourseById(Integer id);
    List<Course> getCourseByTeacherId(Integer id);

    List<Course> getCourseByTeacherId(Integer id, String status, String courseName);

    void updateStatus(Integer id, String status);
    void deleteCourseById(Integer id);
    void updateCourse(Course course);
}
